package com.example.demo.Dao;

import com.example.demo.Entity.Question;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
public interface QuestionMapper {
    public List<Question> findAll();
    public Question findById(Integer id);
    public void addQuestion(String question,String answer);
    public void deleteQuestion(Integer id);
    public void updateQuestion(Integer id,String question,String answer);
}


